package manage.modules.upload.model;

import java.io.File;
import java.io.Serializable;

/**
 * 单文件实体
 * 
 * @author dongji
 * @since 2012-9-27 下午06:04:28
 */
public class SingleFile implements Serializable {
	private static final long serialVersionUID = 6323076830210737974L;
	/** 文件数据 **/
	private File upload;

	/** 文件名 **/
	private String uploadFileName;
	/** 文件类型 **/
	private String uploadContentType;
	/** 文件后缀 **/
	private String exts;

	public SingleFile() {
	}

	public SingleFile(File upload, String exts) {
		this.upload = upload;
		this.exts = exts;
	}

	public File getUpload() {
		return upload;
	}

	public void setUpload(File upload) {
		this.upload = upload;
	}

	public String getUploadFileName() {
		return uploadFileName;
	}

	public void setUploadFileName(String uploadFileName) {
		this.uploadFileName = uploadFileName;
	}

	public String getUploadContentType() {
		return uploadContentType;
	}

	public void setUploadContentType(String uploadContentType) {
		this.uploadContentType = uploadContentType;
	}

	public String getExts() {
		return exts;
	}

	public void setExts(String exts) {
		this.exts = exts;
	}

}
